]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appMenu: Add separator between "Details" and "Quit"
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 11 Feb 2019 18:50:37 +0000 (19:50 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 19:23:23 +0000 (19:23 +0000)
The two actions are sufficiently different to warrant their own
groups.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/968

js/ui/panel.js

index 36e16d3c228707ee0b9cca6bce6218bb4d18ad24..a1f119941925c48b4e6ee875f4d9db448560461c 100644 (file)
@@ -105,6 +105,8 @@ class AppMenu extends PopupMenu.PopupMenu {
             });
         });
 
+        this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
+
         this.addAction(_("Quit"), () => {
             this._app.request_quit();
         });